package com.itzjc.domain.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据库POJO_projectInfo表
 *
 * @className: Project
 * @date: 2021-06-10 21:43
 **/
public class ProjectInfo implements Serializable {
    private Integer id;
    @JsonProperty("project_name")
    private String projectName;
    @JsonProperty("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String description;
    @JsonProperty("start_time")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonProperty("end_time")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date endTime;
    private Integer stage;
    private String stageString;
    private Integer status;
    private String statusString;
    private String reason;
    private String owner;//试验联系人
    private String ownerphone;//联系人电话



    private String agreementURL;
    private String methodURL;
    private String teacherBelong;//所属老师，停用
    private String placeBelong;//所属单位
    private String userName;//姓名，停用

    private Integer uid;//用户id，停用
    private String phone;//导师电话
    private String token;


    //有参、空参、set/get、toString

    @Override
    public String toString() {
        return "ProjectInfo{" +
                "id=" + id +
                ", projectName='" + projectName + '\'' +
                ", createTime=" + createTime +
                ", description='" + description + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", stage=" + stage +
                ", stageString='" + stageString + '\'' +
                ", status=" + status +
                ", statusString='" + statusString + '\'' +
                ", reason='" + reason + '\'' +
                ", owner='" + owner + '\'' +
                ", ownerphone='" + ownerphone + '\'' +
                ", agreementURL='" + agreementURL + '\'' +
                ", methodURL='" + methodURL + '\'' +
                ", teacherBelong='" + teacherBelong + '\'' +
                ", placeBelong='" + placeBelong + '\'' +
                ", userName='" + userName + '\'' +
                ", uid=" + uid +
                ", phone='" + phone + '\'' +
                ", token='" + token + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStage() {
        return stage;
    }

    public void setStage(Integer stage) {
        this.stage = stage;
    }

    public String getStageString() {
        return stageString;
    }

    public void setStageString(String stageString) {
        this.stageString = stageString;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusString() {
        return statusString;
    }

    public void setStatusString(String statusString) {
        this.statusString = statusString;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getOwnerphone() {
        return ownerphone;
    }

    public void setOwnerphone(String ownerphone) {
        this.ownerphone = ownerphone;
    }

    public String getAgreementURL() {
        return agreementURL;
    }

    public void setAgreementURL(String agreementURL) {
        this.agreementURL = agreementURL;
    }

    public String getMethodURL() {
        return methodURL;
    }

    public void setMethodURL(String methodURL) {
        this.methodURL = methodURL;
    }

    public String getTeacherBelong() {
        return teacherBelong;
    }

    public void setTeacherBelong(String teacherBelong) {
        this.teacherBelong = teacherBelong;
    }

    public String getPlaceBelong() {
        return placeBelong;
    }

    public void setPlaceBelong(String placeBelong) {
        this.placeBelong = placeBelong;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public ProjectInfo(Integer id, String projectName, Date createTime, String description, Date startTime, Date endTime, Integer stage, String stageString, Integer status, String statusString, String reason, String owner, String ownerphone, String agreementURL, String methodURL, String teacherBelong, String placeBelong, String userName, Integer uid, String phone, String token) {
        this.id = id;
        this.projectName = projectName;
        this.createTime = createTime;
        this.description = description;
        this.startTime = startTime;
        this.endTime = endTime;
        this.stage = stage;
        this.stageString = stageString;
        this.status = status;
        this.statusString = statusString;
        this.reason = reason;
        this.owner = owner;
        this.ownerphone = ownerphone;
        this.agreementURL = agreementURL;
        this.methodURL = methodURL;
        this.teacherBelong = teacherBelong;
        this.placeBelong = placeBelong;
        this.userName = userName;
        this.uid = uid;
        this.phone = phone;
        this.token = token;
    }

    public ProjectInfo() {
    }
}
